export const area = [
  {
    name: '中枢神经安徽大区',
    province: [
      {
        provinceName: '安徽',
        city: [
          { name: '全部', value: '全部' },
          { name: '合肥', value: 'hefei' },
          { name: '六安', value: 'luan' },
          { name: '阜阳', value: 'fuyang' },
          { name: '亳州', value: 'bohzhou' },
          { name: '淮南', value: 'huainan' },
          { name: '芜湖', value: 'wuhu' },
          { name: '池州', value: 'chizhou' },
          { name: '铜陵', value: 'tongling' },
          { name: '安庆', value: 'anqing' },
          { name: '黄山', value: 'huangshan' },
          { name: '蚌埠', value: 'bengbu' },
          { name: '宿州', value: 'suzhou' },
          { name: '淮北', value: 'huaibei' },
          { name: '宣城', value: 'xuancheng' },
          { name: '滁州', value: 'chuzhou' },
          { name: '马鞍山', value: 'maanshan' }
        ]
      }
    ]
  },
  {
    name: '中枢神经北京大区',
    province: [
      {
        provinceName: '北京',
        city: [
          { name: '全部', value: '全部' },
          { name: '北京', value: 'beijing' }
        ]
      }
    ]
  },
  {
    name: '中枢神经东北大区',
    province: [
      {
        provinceName: '黑龙江',
        city: [
          { name: '全部', value: '全部' },

          { name: '大庆', value: 'daqing' },
          { name: '齐齐哈尔', value: 'qiqihaer' },
          { name: '黑河', value: 'heihe' },
          { name: '绥化', value: 'suihua' },
          { name: '大兴安岭', value: 'daxinganling' },
          { name: '哈尔滨', value: 'haerbin' },
          { name: '伊春', value: 'yichun' },
          { name: '佳木斯', value: 'jiamusi' },
          { name: '双鸭山', value: 'shuangyashan' },
          { name: '牡丹江', value: 'mudanjiang' },
          { name: '七台河', value: 'qitaihe' },
          { name: '鸡西', value: 'jixi' },
        ]
      },
      {
        provinceName: '吉林',
        city: [
          { name: '全部', value: '全部' },

          { name: '长春', value: 'daqing' },
          { name: '吉林', value: 'jilin' },
          { name: '延边朝鲜族自治州', value: 'yanbianchaoxianzuzizhizhou' },
          { name: '通化', value: 'tonghua' },
          { name: '白山', value: 'baishan' },
          { name: '四平', value: 'siping' },
          { name: '松原', value: 'songyuan' },
          { name: '辽源', value: 'liaoyuan' }
        ]
      },
      {
        provinceName: '辽宁',
        city: [
          { name: '全部', value: '全部' },

          { name: '沈阳', value: 'shenyang' },
          { name: '大连', value: 'dalian' },
          { name: '营口', value: 'yingkou' },
          { name: '鞍山', value: 'anshan' },
          { name: '抚顺', value: 'fushun' },
          { name: '铁岭', value: 'tieling' },
          { name: '辽阳', value: 'liaoyang' },
          { name: '本溪', value: 'benxi' },
          { name: '丹东', value: 'dandong' },
          { name: '赤峰', value: 'chifeng' },
          { name: '朝阳', value: 'chaoyang' },
          { name: '阜新', value: 'fuxin' },
          { name: '锦州', value: 'jinzhou' },
          { name: '盘锦', value: 'panjin' },
          { name: '葫芦岛', value: 'huludao' }
        ]
      },
      {
        provinceName: '内蒙古',
        city: [
          { name: '全部', value: '全部' },

          { name: '呼和浩特', value: 'huhehaote' },
          { name: '包头', value: 'baotou' },
          { name: '乌兰察布', value: 'wulanchabu' },
          { name: '锡林郭勒', value: 'xilinguole' },
          { name: '鄂尔多斯', value: 'eerduosi' },
          { name: '乌海', value: 'wuhai' },
          { name: '巴彦淖尔', value: 'bayannaoer' },
          { name: '阿拉善', value: 'alashan' },
          { name: '呼伦贝尔', value: 'hulunbeier' },
          { name: '通辽', value: 'tongliao' },
          { name: '兴安盟', value: 'xinganmeng' }
        ]
      }
    ]
  },
  {
    name: '中枢神经福建大区',
    province: [
      {
        provinceName: '福建',
        city: [
          { name: '全部', value: '全部' },

          { name: '福州', value: 'fuzhou' },
          { name: '泉州', value: 'quanzhou' },
          { name: '莆田', value: 'putian' },
          { name: '漳州', value: 'zhangzhou' },
          { name: '厦门', value: 'xiamen' },
          { name: '三明', value: 'sanming' },
          { name: '龙岩', value: 'longyan' },
          { name: '宁德', value: 'ningde' }
        ]
      },
    ]
  },
  {
    name: '中枢神经河北大区',
    province: [
      {
        provinceName: '山西',
        city: [
          { name: '全部', value: '全部' },

          // { name: '山西', value: 'shanxi1' },
        ]
      },
      {
        provinceName: '陕西',
        city: [
          { name: '全部', value: '全部' },

          // { name: '陕西', value: 'shanxi2' },
        ]
      },
      {
        provinceName: '河北',
        city: [
          { name: '全部', value: '全部' },

          { name: '石家庄', value: 'shijiazhuang' },
          { name: '唐山', value: 'tangshan' },
          { name: '张家口', value: 'shijiazhuang' },
          { name: '承德', value: 'chengde' },
          { name: '邯郸', value: 'handan' },
          { name: '廊坊', value: 'langfang' },
          { name: '衡水', value: 'hengshui' },
          { name: '保定', value: 'baoding' },
        ]
      },
    ]
  },
  {
    name: '中枢神经鲁豫大区',
    province: [
      {
        provinceName: '河南',
        city: [
          { name: '全部', value: '全部' },

          { name: '郑州', value: 'zhengzhou' },
          { name: '新乡', value: 'xinxiang' },
          { name: '安阳', value: 'anyang' },
          { name: '濮阳', value: 'puyang' },
          { name: '鹤壁', value: 'hebi' },
          { name: '洛阳', value: 'luoyang' },
          { name: '济源', value: 'jiyuan' },
          { name: '三门峡', value: 'sanmenxia' },
          { name: '开封', value: 'kaifeng' },
          { name: '商丘', value: 'shangqiu' },
          { name: '周口', value: 'zhoukou' },
          { name: '许昌', value: 'xuchang' },
          { name: '漯河', value: 'luohe' },
          { name: '平顶山', value: 'pingdingshan' },
          { name: '南阳', value: 'nanyang' },
          { name: '信阳', value: 'xinyang' },
          { name: '驻马店', value: 'zhumadian' },
        ]
      },
      {
        provinceName: '山东',
        city: [
          { name: '全部', value: '全部' },

          { name: '济南', value: 'jinan' },
          { name: '青岛', value: 'qingdao' },
          { name: '济宁', value: 'jining' },
          { name: '菏泽', value: 'heze' },
          { name: '烟台', value: 'yantai' },
          { name: '威海', value: 'weihai' },
          { name: '淄博', value: 'zibo' },
          { name: '滨州', value: 'bingzhou' },
          { name: '潍坊', value: 'weifang' },
          { name: '东营', value: 'dongying' },
          { name: '泰安', value: 'taian' },
          { name: '聊城', value: 'liaocheng' },
          { name: '德州', value: 'liaozhou' },
          { name: '临沂', value: 'linxi' },
          { name: '日照', value: 'rizhao' },
          { name: '枣庄', value: 'zaozhuang' },
        ]
      },
    ]
  },
  {
    name: '中枢神经江西大区',
    province: [
      {
        provinceName: '江西',
        city: [
          { name: '全部', value: '全部' },

          { name: '南昌', value: 'nanchang' },
          { name: '赣州', value: 'ganzhou' },
          { name: '吉安', value: 'jian' },
          { name: '抚州', value: 'fuzhou' },
          { name: '九江', value: 'jiujiang' },
          { name: '萍乡', value: 'pingxiang' },
          { name: '新余', value: 'xinyu' },
          { name: '鹰潭', value: 'yintan' },
          { name: '上饶', value: 'shangrao' },
          { name: '景德镇', value: 'jingdezheng' },
          { name: '宜春', value: 'yichun' },
        ]
      },
    ]
  },
  {
    name: '中枢神经华南大区',
    province: [
      {
        provinceName: '广东',
        city: [
          { name: '全部', value: '全部' },

          { name: '深圳', value: 'shenzhen' },
          { name: '惠州', value: 'huizhou' },
          { name: '东莞', value: 'dongguan' },
          { name: '江门', value: 'jiangmen' },
          { name: '中山', value: 'zhonshan' },
          { name: '湛江', value: 'zhanjiang' },
          { name: '深圳', value: 'shenzhen' },
          { name: '汕头', value: 'shantou' },
          { name: '广州', value: 'guangzhou' },
          { name: '汕尾', value: 'shanwei' },
          { name: '佛山', value: 'foshan' },
          { name: '肇庆', value: 'chaoqing' },
          { name: '珠海', value: 'zhuhai' },
          { name: '茂名', value: 'maoming' },
          { name: '韶关', value: 'shaoguan' },
          { name: '梅州', value: 'meizhou' },
          { name: '河源', value: 'heyuan' },
          { name: '清远', value: 'qingyuan' },
          { name: '云浮', value: 'yunfu' },
          { name: '阳江', value: 'yangjiang' },
          { name: '潮汕', value: 'chaoshan' },
          { name: '揭阳', value: 'jieyang' },
        ]
      },
      {
        provinceName: '广西',
        city: [
          { name: '全部', value: '全部' },

          { name: '南宁', value: 'nanning' },
          { name: '桂州', value: 'guizhou' },
          { name: '柳州', value: 'liuzhou' },
        ]
      }
    ]
  },
  {
    name: '中枢神经西北两湖大区',
    province: [
      {
        provinceName: '湖北',
        city: [
          { name: '全部', value: '全部' },

        ]
      },
      {
        provinceName: '新疆',
        city: [
          { name: '全部', value: '全部' },
        ]
      },
      {
        provinceName: '青海',
        city: [
          { name: '全部', value: '全部' },
        ]
      },
      {
        provinceName: '宁夏',
        city: [
          { name: '全部', value: '全部' },
        ]
      },
      {
        provinceName: '甘肃',
        city: [
          { name: '全部', value: '全部' },
        ]
      },
      {
        provinceName: '湖南',
        city: [
          { name: '全部', value: '全部' },
        ]
      },
    ]
  },
  {
    name: '中枢神经上海大区',
    province: [
      {
        provinceName: '上海',
        city: [
          { name: '全部', value: '全部' },

          // { name: '上海市', value: 'shanghai' },
        ]
      },

    ]
  },
  {
    name: '中枢神经苏北大区',
    province: [
      {
        provinceName: '江苏苏北',
        city: [
          { name: '全部', value: '全部' },

          { name: '扬州', value: 'yangzhou' },
          { name: '南通', value: 'nantong' },
          { name: '盐城', value: 'yancheng' },
          { name: '淮安', value: 'huaian' },
          { name: '宿迁', value: 'suqian' },
          { name: '泰州', value: 'taizhou' },
          { name: '连云港', value: 'lianyungang' },
          { name: '徐州', value: 'xuzhou' },
        ]
      },

    ]
  },
  {
    name: '中枢神经苏南大区',
    province: [
      {
        provinceName: '江苏苏南',
        city: [
          { name: '全部', value: '全部' },

          { name: '南京', value: 'nanjing' },
          { name: '苏州', value: 'suzhou' },
          { name: '无锡', value: 'wuxi' },
          { name: '常州', value: 'changzhou' },
          { name: '镇江', value: 'zhengjiang' },
        ]
      },
    ]
  },
  {
    name: '中枢神经天津大区',
    province: [
      {
        provinceName: '天津',
        city: [
          { name: '全部', value: '全部' },

          // { name: '天津', value: 'tianjin' },
        ]
      },
    ]
  },
  {
    name: '中枢神经西南大区',
    province: [
      {
        provinceName: '四川',
        city: [
          { name: '全部', value: '全部' },

          { name: '成都', value: 'chengdu' },
          { name: '德阳', value: 'deyang' },
          { name: '绵阳', value: 'mianyang' },
          { name: '雅安', value: 'yaan' },
          { name: '眉山', value: 'meishan' },
          { name: '资阳', value: 'ziyan' },
          { name: '攀枝花', value: 'panzhihua' },
          { name: '凉山州', value: 'liangshanzhou' },
          { name: '泸州', value: 'luzhou' },
          { name: '自贡', value: 'zigong' },
          { name: '宜宾', value: 'yibing' },
          { name: '乐山', value: 'lushan' },
          { name: '巴中', value: 'bazhong' },
          { name: '广元', value: 'guangyuan' },
          { name: '达州', value: 'dazhou' },
          { name: '南充', value: 'nanchong' },
          { name: '内江', value: 'neijiang' },
          { name: '广安', value: 'guangan' },
          { name: '遂宁', value: 'suining' },
        ]
      },
      {
        provinceName: '重庆',
        city: [
          { name: '全部', value: '全部' },

          // { name: '重庆', value: 'chongqing' },
        ]
      },
      {
        provinceName: '云南',
        city: [
          { name: '全部', value: '全部' },

          // { name: '云南', value: '' },
          { name: '昆明', value: '' },
          { name: '玉溪', value: '' },
          { name: '普洱', value: '' },
          { name: '西双版纳', value: '' },
          { name: '临沧', value: '' },
          { name: '曲靖', value: '' },
          { name: '昭通', value: '' },
          { name: '文山州', value: '' },
          { name: '红河州', value: '' },
          { name: '楚雄', value: '' },
          { name: '大理', value: '' },
          { name: '保山', value: '' },
          { name: '德宏', value: '' },
          { name: '丽江', value: '' },
          { name: '迪庆', value: '' },
          { name: '怒江', value: '' },
        ]
      },
      {
        provinceName: '贵州',
        city: [
          { name: '全部', value: '全部' },

          { name: '贵阳市', value: '' },
          { name: '黔南州', value: '' },
          { name: '黔东南州', value: '' },
          { name: '安顺市', value: '' },
          { name: '遵义市', value: '' },
          { name: '铜仁市', value: '' },
          { name: '六盘水市', value: '' },
          { name: '黔西南州', value: '' },
          { name: '毕节市', value: '' },
        ]
      },
    ]
  },
  {
    name: '中枢神经浙江大区',
    province: [
      {
        provinceName: '浙江',
        city: [
          { name: '全部', value: '全部' },

          { name: '嘉兴', value: '' },
          { name: '湖州', value: '' },
          { name: '杭州', value: '' },
          { name: '绍兴', value: '' },
          { name: '台州', value: '' },
          { name: '宁波', value: '' },
          { name: '舟山', value: '' },
          { name: '金华', value: '' },
          { name: '衢州', value: '' },
          { name: '丽水', value: '' },
          { name: '温州', value: '' },
        ]
      },
    ]
  },


]



const setData = () => {
  area.map(item => {
    item.label = item.name;
    item.value = item.name;
    if (item.province) {
      item.children = item.province;
      item.province.map(sitem => {
        sitem.label = sitem.provinceName;
        sitem.value = sitem.provinceName;
        if (sitem.city) {
          sitem.children = sitem.city;
          sitem.city.map(ssitm => {
            ssitm.label = ssitm.name;
            ssitm.value = ssitm.name;
          })
        }
      })
    }
  })
}

setData()

